package com.wejoy.video.middle.station.data.mapper.workorder;

import com.wejoy.video.middle.station.data.domain.workorder.WorkOrderReview;

import java.util.List;

/**
 * 工单审核记录
 *
 * @author miracle_j
 * @date 2022年11月17日 17:39:37
 */
public interface IWorkOrderReviewMapper {

    /**
     * 插入
     *
     * @param workOrderReview workOrderReview
     * @return int
     */
    int insertSelective(WorkOrderReview workOrderReview);

    /**
     * 更新
     *
     * @param setParam   setParam
     * @param whereParam whereParam
     * @return int
     */
    int updateSelective(WorkOrderReview setParam, WorkOrderReview whereParam);

    /**
     * 数量
     *
     * @param workOrderReview workOrderReview
     * @return int
     */
    int getCount(WorkOrderReview workOrderReview);

    /**
     * 单条
     *
     * @param workOrderReview workOrderReview
     * @return WorkOrderReview
     */
    WorkOrderReview getOne(WorkOrderReview workOrderReview);

    /**
     * 多条
     *
     * @param workOrderReview workOrderReview
     * @return List<WorkOrderReview>
     */
    List<WorkOrderReview> getList(WorkOrderReview workOrderReview);

    /**
     * 分页
     *
     * @param workOrderReview workOrderReview
     * @return List<WorkOrderReview>
     */
    List<WorkOrderReview> getPageList(WorkOrderReview workOrderReview);

}